import asyncComponent from './components/async-component';

export default [
  // {
  //   name: 'demo1',
  //   title: '首页',
  //   path: '/demo1',
  //   component: asyncComponent(() => import('./pages/demo1'))
  // },
  {
    name: 'todo',
    title: '代办管理',
    path: '/todo',
    component: asyncComponent(() => import('./pages/todo'))
  },
  {
    name: 'navigation',
    title: '导航',
    path: '/navigation',
    component: asyncComponent(() => import('./pages/navigation'))
  },
  // {
  //   name: 'demo2',
  //   title: '开心一下',
  //   path: '/demo2',
  //   component: asyncComponent(() => import('./pages/demo2'))
  // },
  // {
  //   name: 'config',
  //   title: '管理配置',
  //   path: '/config',
  //   component: asyncComponent(() => import('./pages/config'))
  // },
  {
    name: 'tools',
    title: '工具集',
    path: '/tools',
    component: asyncComponent(() => import('./pages/tools'))
  },
  {
    name: 'generating-small-program-code',
    title: '生成小程序二维码',
    path: '/generating-small-program-code',
    component: asyncComponent(() => import('./pages/generating-small-program-code'))
  },
  {
    name: 'login',
    path: '/login',
    component: asyncComponent(() => import('./pages/login')),
    alone: true
  }
]
